#ifndef __UTILS_H__
#define __UTILS_H__

#include "util/util_config.h"
#include "util/xstring.h"
#include "util/logger.h"
#include "util/object.h"
#include "util/thread.h"
#include "util/timer.h"

NS_UTIL_BEGIN

// swap function
template<typename T>
inline void xswap(T& left, T& right)
{
	T tmp = right;
	right = left;
	left = tmp;
}

NS_UTIL_END


#endif